import { doGet, doPost, doDelete } from './request.js'

// 上传图
export function uploadFile (data) {
  return doPost('/file/uploadFile', data)
}

// 删除图
export function deleteFile (id) {
  return doPost('/file/deleteFileById', { id })
}